//
//  CSSShareCommand.h
//  CToolBox
//
//  Created by SC on 16/10/22.
//  Copyright © 2016年 SC. All rights reserved.
//
#import <UMSocialCore/UMSocialCore.h>
#import <Foundation/Foundation.h>
#import "CustomShareView.h"
@protocol CSSShareCommandDelegate <NSObject>
@optional
- (void)shareComplete;
- (void)shareAddScoreComplete;
@end

@interface CSSShareCommand : NSObject

@property (nonatomic, weak) id <CSSShareCommandDelegate> delegate;


/**
 分享

 @param tip tip:对应的分享平台
 @param count 分享平台显示个数
 @param url 链接url
 @param title 分享标题
 @param text 分享描述
 @param imageUrl 分享图片链接
 @param image 分享图片
 @param target target
 @param courseId 分享课程id
 @param userId 用户id
 @param isNormal YES:正常分享 NO:百宝箱分享
 @param shareStyleType H5分享格式
 */
- (void)shareWithTip:(NSInteger)tip
               count:(NSInteger)count
                 url:(NSString *)url
               title:(NSString *)title
                text:(NSString *)text
            imageUrl:(NSString *)imageUrl
               image:(UIImage *)image
              target:(id)target
            courseId:(NSString *)courseId
              userId:(NSString *)userId
            isNormal:(BOOL)isNormal
      shareStyleType:(NSNumber *)shareStyleType;



- (void)shareFileWithTip:(NSInteger)tip
               count:(NSInteger)count
                 url:(NSString *)url
               title:(NSString *)title
                text:(NSString *)text
            imageUrl:(NSString *)imageUrl
               image:(UIImage *)image
              target:(id)target;


@end
